package cn.iocoder.yudao.module.of.controller.admin.taskhandler.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 任务办理人员新增/修改 Request VO")
@Data
public class TaskHandlerSaveReqVO {

    @Schema(description = "主键", example = "167")
    private Long id;

    @Schema(description = "任务主键", example = "18598")
    private Long taskId;

    @Schema(description = "主协办：1 主办 2协办", example = "2")
    private Integer handlerType;

    @Schema(description = "部门", example = "15772")
    private Long deptId;

    @Schema(description = "人员", example = "15146")
    private Long userId;

    @Schema(description = "领导id", example = "15146")
    private Long leaderUserId;

    @Schema(description = "转派人员", example = "15146")
    private Long distributionUserId;

    @Schema(description = "转派人员名字", example = "15146")
    private String distributionUserName;

    /**
     * 租户编号
     */
    @Schema(description = "租户编号")
    @NotNull(message = "租户编号不能为空")
    private Long tenantId;

}